package com.glela.goods.dao;

import java.util.List;

import com.glela.goods.model.Product;
import com.glela.goods.model.ShoppingCart;
import com.glela.goods.model.vo.ShoppingCartVo;
import com.glela.platform.model.request.RequestPageBaseModel;

/**
 *@author liujie
 *@2016年10月20日
 */
public interface ShoppingCartDao{

	public int insert(ShoppingCart record);
	
	public int insertSelective(ShoppingCart record);
	
	public int deleteByPrimaryKey(Integer id);
	
	public int updateByPrimaryKeySelective(ShoppingCart record);
	
	public List<ShoppingCartVo> selectMoreInfoByUserIdPage(RequestPageBaseModel requestPageBaseModel);
	
	public ShoppingCart selectByUserInventoryId(Long userId,Long inventoryId);


	public Product selectspecificationByProID(long proID);
	public String  selectIMGBydetailAndGoodID(int specificationDetailId,long goodId);

}
